<template>
  <div class="m-container">
    <div class="tran-box">
      <div class="c-title">
        <span>调拨前</span>
      </div>
      <hk-table
        ref="hkTable"
        :table-data="propData.newData"
        :table-columns="disList"
        :show-pag="false"
        :loading="loading"
        :dict-list="dictList"
        is-need-index
        :table-height="200"/>
    </div>
  </div>
</template>

<script>
import HkTable from '@/components/Hk-Table/index.vue'
export default {
  // eslint-disable-next-line vue/no-unused-components
  components: { HkTable },
  props: {
    propData: {
      type: Object,
      default: () => {},
    },
    labelPosition: {
      type: String,
      default: 'left',
    },
  },
  data() {
    return {
      // 表单数据
      formData: {},

      dictList: {
        userList: [],
        deptList: [],
      },
      loading: false,
      disList: [
        { label: '设备编号', param: 'assetCode', width: '100' },
        { label: '责任部门', param: 'assetDepartmentName' },
        { label: '责任人', param: 'ownerName' },
        { label: '存放位置', param: 'storageLocation' },
      ],

      stagData: {},
      isClear: false,
    }
  },
  created() {},
  mounted() {},
  methods: {},
}
</script>
   <style lang="scss" scoped>
.middle {
  .right {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
  }
}
.c-title {
  font-weight: 700;
}
#app.dark-theme {
  .m-container,
  .tab-content {
    background: transparent !important;
    color: #fff;
  }
  .tab-bg {
    background: rgba(59, 139, 255, 0.1) !important;
  }
  .sp-flex i {
    color: #4b6eef !important;
  }
  .active {
    border: 1px solid #fff !important;
    transform: scale(1.1, 1.1);
  }
}
.group-top-btn {
  display: flex;
  justify-content: flex-start;
  .group-middle {
    padding: 2px;
    margin: 2px;
    border: 1px solid transparent;
    border-radius: 6px;
    .group-btn {
      width: 30px;
      height: 30px;
      border-radius: 4px;
      cursor: pointer;
    }
  }
}
.active {
  border: 1px solid #4b6eef !important;
  transform: scale(1.1, 1.1);
}
.up-txt {
  font-size: 12px;
}
.add-row {
  margin-top: 20px;
}
.m-container {
  padding: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.tran-box {
  // background: #fff;
  border-radius: 4px;
  padding: 20px;
  min-height: 400px;
  margin-bottom: 20px;
}
.el-form {
  flex: 1;
  overflow: auto;
}
footer {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 20px;
}
::v-deep .el-table__body-wrapper {
  height: 350px;
}

::v-deep {
  .el-button--text {
    padding: 0;
  }

  .el-input-group__append {
    background: transparent;
  }
}
</style>
      
      